<?php
/**
 * Created by PhpStorm.
 * User: YC
 * Date: 2017/4/30
 * Time: 13:51
 */

namespace app\admin\validate;

use think\Validate;

class Financial extends Validate
{
    protected $rule = [
        'project_financial|财务分类' => 'require',
        'financial_type|财务类型'   =>  'require',
        'price|金额'   =>  'float',
        'info|详情'   =>  'max:50',
    ];

}